package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Address;
import com.itheima.pojo.CheckItem;

import java.util.List;
import java.util.Map;

public interface AddressDao {
    public void add(Address address);

    public Page<CheckItem> findByCondition(String queryString);

    public Address findById(Integer id);

    public void edit(Address address);

    public List<Integer> findAddressAndOrderByAid(Integer id);

    public void delAddressAndOrder(Integer id);

    public void delAddress(Integer id);

    public List<Address> findAll();

    public Integer findIdByAddress(String address);

    public void save(Map<String,Integer> map);
}
